.class public Lcom/esfile/screen/recorder/videos/edit/timepicker/a;
.super Lcom/esfile/screen/recorder/ui/a;
.source "DuTimePickerDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/videos/edit/timepicker/a$c;
    }
.end annotation


# instance fields
.field private s:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

.field private t:Lcom/esfile/screen/recorder/videos/edit/timepicker/a$c;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 3

    .line 1
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/ui/a;-><init>(Landroid/content/Context;)V

    .line 2
    invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    sget v1, Les/y4;->durec_time_picker_dialog_layout:I

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 3
    sget v1, Les/x4;->time_picker_view:I

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->s:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    .line 4
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/ui/a;->a(Landroid/view/View;)V

    .line 5
    sget v0, Les/z4;->durec_common_confirm:I

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/timepicker/a$a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/a$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/timepicker/a;)V

    invoke-virtual {p0, v0, v1}, Lcom/esfile/screen/recorder/ui/a;->b(ILandroid/content/DialogInterface$OnClickListener;)V

    .line 6
    sget v0, Les/z4;->durec_common_cancel:I

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/timepicker/a$b;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/a$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/timepicker/a;)V

    invoke-virtual {p0, v0, v1}, Lcom/esfile/screen/recorder/ui/a;->a(ILandroid/content/DialogInterface$OnClickListener;)V

    const/4 v0, 0x1

    .line 7
    invoke-virtual {p0, v0}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 8
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Les/v4;->durec_time_pick_width:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v0

    .line 9
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Les/v4;->durec_time_pick_margin:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v1

    .line 10
    invoke-virtual {p1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    sget v2, Les/v4;->durec_dialog_padding:I

    invoke-virtual {p1, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result p1

    mul-int/lit8 v0, v0, 0x4

    mul-int/lit8 v1, v1, 0x3

    add-int/2addr v0, v1

    mul-int/lit8 p1, p1, 0x2

    add-int/2addr v0, p1

    .line 11
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/ui/a;->e(I)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/timepicker/a;)Lcom/esfile/screen/recorder/videos/edit/timepicker/a$c;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->t:Lcom/esfile/screen/recorder/videos/edit/timepicker/a$c;

    return-object p0
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/timepicker/a;)Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->s:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    return-object p0
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/timepicker/a;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->d()V

    return-void
.end method

.method private d()V
    .locals 0

    return-void
.end method


# virtual methods
.method public a(III)V
    .locals 7

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->s:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    if-eqz v0, :cond_0

    int-to-long v1, p1

    int-to-long v3, p2

    int-to-long v5, p3

    .line 3
    invoke-virtual/range {v0 .. v6}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->a(JJJ)V

    :cond_0
    return-void
.end method

.method public a(Lcom/esfile/screen/recorder/videos/edit/timepicker/a$c;)V
    .locals 0

    .line 4
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->t:Lcom/esfile/screen/recorder/videos/edit/timepicker/a$c;

    return-void
.end method

.method public dismiss()V
    .locals 1

    .line 1
    invoke-super {p0}, Landroid/app/Dialog;->dismiss()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/timepicker/a;->s:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->a()V

    :cond_0
    return-void
.end method
